<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="keywords" content="{$sets->keyword}" />
<meta name="description" content="{$sets->description}" />
<link rel="stylesheet" href="__ROOT__/Tpl/Public/css/newsdetails.css" />
<script type="text/javascript" src="__ROOT__/Public/Jquery/jquery.js"></script>
<script type="text/javascript" src="__ROOT__/Public/Jquery/JQuery.screen.js"></script>
<script type="text/javascript" src="__ROOT__/Public/client_remind.js"></script>
<script type="text/javascript" src="__ROOT__/Tpl/Public/js/header.js"></script>
<script type="text/javascript" src="__ROOT__/Tpl/Public/js/newsDetails.js"></script>
<title>三原县信息网-- 新闻详细内容</title>
</head>
<body>
<include file="./Tpl/Public/header.html" />
<div id="map"><img src="__ROOT__/Tpl/Public/images/location.gif" style="position:relative;top:2px;"/>  <a href="/">三原县信息网</a> &gt; <a href="{:U('/News')}">新闻资讯</a> &gt; {$currentnav} </div>
<div id="nleft">  
    <div class="content">
        <h3><a href="{:U('/NewsDetails/index','id='.$_GET['id'])}" style="color:#000;text-decoration:none;">{$current.title}</a></h3>     
        <p class="p1">时间：{$current.addtime|date='Y-m-d H:i:s',###}　来源：{$current.from}　作者：{$current.writer}　点击量：{$current.view_count} 次</p>
        <p class="p2">{$current.summary}</p>
        <div class="commend">
            <input type="hidden" id="root" value="__ROOT__" />
            <h2>全部评论</h2>
            <volist name="allcommend" id="value" empty="$empty">
                <div class="c">
                    <p class="user"><em><span class="n">{$value.floor}</span>楼</em><span class="name">{$value.user}</span> [{$value.addtime|date='m-d H:i:s',###}]</p>
                    <p class="content">{$value.content}</p>
                </div>
            </volist>
            <div id="page">{$page}</div>
            <if condition="$_COOKIE['user']">
                <if condition="$current['is_commend'] eq 1">
                <div class="post">
                    <form method="post" class="c">
                         <span class="middle">评论内容:</span><textarea name="content"></textarea> <span class="middle" style="color:red;">(200字以内)</span><br />
                         <input type="hidden" name="user" value="{$Think.cookie.user}" />
                         <input type="hidden" name="nid" value="{$Think.get.id}" />
                         <input type="submit" name="send" value="提交" class="sub"/>                    
                    </form>
                </div>
                <else />
                    <p class="tip" style="color:red;">该新闻已禁止评论</p>
                </if>
            <else />
                <p class="tip"><span><a href="###" id="windowLogin">登陆</a></span>后才能评论</p>    
            </if>
        </div>
    </div>  
</div>
<div id="nright">
    <div class="hot">
        <h2>同类热评</h2>
        <ul>
           <volist name="simhot" id="value">
           <li><em>[{$value.addtime|date='m-d',###}]</em><a href="{:U('/NewsDetails/index', 'id='.$value['id'])}" title="{$value.ftitle}" target="_blank">{$value.title|cutText=10}</a></li> 
           </volist>
        </ul>
    </div>
</div>
<div id="loading" style="display:none;position:absolute;z-index:10000;"><img src="__ROOT__/Tpl/Public/images/loading.gif" alt="等待"/></div>
<div id="sinfo"><p>评论成功</p></div>
<div id="linfo"><p>登陆成功</p></div>
<!-- 登陆小窗口 -->
<div id="login">
    <p class="t">填写账号<a href="###" id="close"><img src="__ROOT__/Tpl/Public/images/close.png" /></a></p>
    <form>
        <dl>
            <dd>用 户  名：<input type="text" name="name" class="text"/>　<a href="{:U('User/reg')}" style="color:blue;text-decoration:none;" target="_blank">没有账号？立即注册</a></dd>
            <dd>密 　   码：<input type="password" name="pass" class="text"/>　<a href="{:U('User/findpass')}" style="color:blue;text-decoration:none;" target="_blank">忘记密码？</a></dd>
            <dd class="c">验 证 码：<input type="text" name="checkcode" class="check"/> <img src="__ROOT__/index.php/Public/checkCode" style="position:relative;top:10px;cursor:pointer;" onclick="this.src='__ROOT__/index.php/Public/checkCode/id/'+Math.random();"></dd>
            <dd><input type="checkbox" name="remeber"  value="1"/> 保存信息一周</dd>
            <dd><input type="submit" name="send" value="登    录" class="sub" id="ajaxLogin"/></dd>
        </dl>
    </form>
</div>



<include file="./Tpl/Public/footer.html" />
</body>
</html>